import request from '@/sheep/request';

const FootballApi = {
	getSellingMatchs: (param) => {
	  return request({
	    url: '/sporttery/football-match/getSellingMatchs',
	    method: 'GET',
		params: param,
	    custom: {
	      showLoading: true,
	      auth: true,
	    },
	  });
	},
	calculateBonus: (data) => {
	  return request({
	    url: '/sporttery/football-match/calculateBonus',
	    method: 'POST',
		data,
	    custom: {
	      showLoading: false,
	      auth: false,
	    },
	  });
	},
};

export default FootballApi;